<?php

class IndexController extends FrontendController
{
    public function actionIndex()
    {
        //if(Yii::app()->user->checkAccess('user')) $role='Юзер';
        $this->render('index',array(
            'SNAuthLinks'=>Yii::app()->snauth->getLinks('user/auth/SNLogin'),
        ));
    }
}